package com.example.child_protection.dto.request.add;

import com.example.child_protection.dto.base.BaseRequestDTO;
import com.example.child_protection.enums.BooleanEnums;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * 角色菜单信息添加请求DTO
 * @date 2018-11-1
 * @author Biz
 */
@Getter
@Setter
public class SystemRoleMenuInsertRequestDTO extends BaseRequestDTO {

    /**
     * 菜单ID
     *
     * @mbggenerated
     */
    @NotNull
    private Long menuId;

    /**
     * 编码
     *
     * @mbggenerated
     */
    @NotNull
    private String code;

    /**
     * 角色id
     *
     * @mbggenerated
     */
    @NotNull
    private Long roleId;

    public void valid(){

    }
    public boolean isValidGid() {

        return false;
    }

}
